package com.oceansoft.mobile.econsole.modules.situation.persistence;

import com.oceansoft.mobile.econsole.modules.base.entity.Query;
import com.oceansoft.mobile.econsole.modules.situation.entity.Situation;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by 我的大名叫陆健伟 on 2016/2/17.
 */
@Repository
public interface ISituationMapper {

    List<Situation> loadSituationsByCondition(Query query);

    List<Situation> findSituationByPager(Query query);

    List<String> queryAllHighwayName();

    Situation findById(String id);

    int update(Situation situation);

    int save(Situation situation);

    int delete(String situationId);
}
